package hdfsexample;

import java.io.IOException;
import java.io.PrintStream;

public class FirstHDFSExample {
	public static void main(String[] args) throws IOException {
		System.setProperty("HADOOP_USER_NAME", "hadoop");
		String hdfsURI = "hdfs://192.168.117.200:9000";
		MergeFile merge = new MergeFile(
				hdfsURI,
				hdfsURI + "/user/hadoop/input2/input2",
				hdfsURI + "/user/hadoop/merge.txt");
		merge.doMerge();
	}

}
